package com.cov.web.bean;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;

public class ShowAddSwitchBean implements Serializable {
    /**
     * all : true
     * confirm : true
     * suspect : true
     * dead : true
     * heal : true
     * nowConfirm : true
     * nowSevere : true
     * importedCase : true
     * noInfect : true
     * localConfirm : true
     * localinfeciton : true
     */

    private boolean all;
    private boolean confirm;
    private boolean suspect;
    private boolean dead;
    private boolean heal;
    private boolean nowConfirm;
    private boolean nowSevere;
    private boolean importedCase;
    private boolean noInfect;
    private boolean localConfirm;
    private boolean localinfeciton;

    public boolean isAll() {
        return all;
    }

    public void setAll(boolean all) {
        this.all = all;
    }

    public boolean isConfirm() {
        return confirm;
    }

    public void setConfirm(boolean confirm) {
        this.confirm = confirm;
    }

    public boolean isSuspect() {
        return suspect;
    }

    public void setSuspect(boolean suspect) {
        this.suspect = suspect;
    }

    public boolean isDead() {
        return dead;
    }

    public void setDead(boolean dead) {
        this.dead = dead;
    }

    public boolean isHeal() {
        return heal;
    }

    public void setHeal(boolean heal) {
        this.heal = heal;
    }

    public boolean isNowConfirm() {
        return nowConfirm;
    }

    public void setNowConfirm(boolean nowConfirm) {
        this.nowConfirm = nowConfirm;
    }

    public boolean isNowSevere() {
        return nowSevere;
    }

    public void setNowSevere(boolean nowSevere) {
        this.nowSevere = nowSevere;
    }

    public boolean isImportedCase() {
        return importedCase;
    }

    public void setImportedCase(boolean importedCase) {
        this.importedCase = importedCase;
    }

    public boolean isNoInfect() {
        return noInfect;
    }

    public void setNoInfect(boolean noInfect) {
        this.noInfect = noInfect;
    }

    public boolean isLocalConfirm() {
        return localConfirm;
    }

    public void setLocalConfirm(boolean localConfirm) {
        this.localConfirm = localConfirm;
    }

    public boolean isLocalinfeciton() {
        return localinfeciton;
    }

    public void setLocalinfeciton(boolean localinfeciton) {
        this.localinfeciton = localinfeciton;
    }

    public ShowAddSwitchBean() {
        super();
    }

    public ShowAddSwitchBean(boolean all, boolean confirm, boolean suspect, boolean dead, boolean heal, boolean nowConfirm, boolean nowSevere, boolean importedCase, boolean noInfect, boolean localConfirm, boolean localinfeciton) {
        this.all = all;
        this.confirm = confirm;
        this.suspect = suspect;
        this.dead = dead;
        this.heal = heal;
        this.nowConfirm = nowConfirm;
        this.nowSevere = nowSevere;
        this.importedCase = importedCase;
        this.noInfect = noInfect;
        this.localConfirm = localConfirm;
        this.localinfeciton = localinfeciton;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("all", isAll())
                .append("confirm", isConfirm())
                .append("suspect", isSuspect())
                .append("dead", isDead())
                .append("heal", isHeal())
                .append("nowConfirm", isNowConfirm())
                .append("nowSevere", isNowSevere())
                .append("importedCase", isImportedCase())
                .append("noInfect", isNoInfect())
                .append("localConfirm", isLocalConfirm())
                .append("localinfeciton", isLocalinfeciton())
                .toString();
    }
}
